System, apparatus and method for RGB-IR pixel pattern conversion via adaptive filtering

The 4×4RGB-IR CFA image is converted into 2×2RGB and 2×2IR patterns through an adaptive filter, which solves the problems of insufficient 4×4RGB-IR CFA image processing capability and IR pollution in the existing technology, and achieves efficient, Full resolution image processing.

CN118574020APending Publication Date: 2024-08-30TEXAS INSTRUMENTS INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410169700.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-06
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technology cannot effectively process 4×4RGB-IR CFA images, resulting in high latency and reduced processing capabilities, and cannot eliminate IR pollution in RGB pixels, affecting the true color performance of the output image.

Method used

Using adaptive filters, the 4×4RGB-IR pixel data is converted into 2×2RGB and 2×2IR patterns through a convolutional neural network to achieve upsampling, IR decontamination and pattern rearrangement, and supports 4×4RGB-IR CFA images. real-time analysis and processing.

Benefits of technology

It achieves efficient processing of 4×4RGB-IR CFA images, improves processing capabilities, eliminates IR pollution, and generates full-resolution, high-quality color and IR images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574020A
    Figure CN118574020A
Patent Text Reader

Abstract

Embodiments of the invention relate to systems, apparatuses, and methods for RGB-IR pixel pattern conversion via adaptive filtering. There is provided herein an image processing pipeline (205) comprising: an upstream component (210); a pattern conversion component (215) downstream in the image processing pipeline (205) relative to the upstream component (210); and downstream components (220) and (225) relative to the pattern conversion component (215). The pattern conversion component (215) is configured to: obtain RGB-IR pixel data (211) generated by the upstream component (210) of the image processing pipeline (205); converting the RGB-IR pixel data (211) into RGB pixel data (217) and IR pixel data (218) using an adaptive filter (216); and supplying the RGB pixel data (217) and the IR pixel data (218) to the downstream components (220) and (225) of the image processing pipeline (205).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This generally involves converting an array of pixels from one format to another for use in image signal processing components. Background Art

[0002] Image sensors and imaging systems (e.g., camera-based systems) can produce images with red, green, and blue (RGB) and infrared (IR) pixels for visualization and processing. Image processing techniques can be applied to such images to produce high-quality digital images. In one example of this technology, a color filter array (CFA) pattern can be used to capture color information by placing a color filter over the pixel sensor of an image sensor. In general, an image signal processor (ISP) or ISP algorithm most often supports a 2×2 pattern of RGB filters (i.e., 4 pixels in a repeating 2 pixel by 2 pixel grid). Therefore, existing systems typically do not support 4×4 RGB-IR CFA processing (i.e., 16 pixels in a 4 pixel by 4 pixel grid). The processing of RGB and IR pixels is important in a variety of uses, including safety features of electronic devices (e.g., driver monitoring systems and passenger monitoring systems) and other non-safety-related features of devices, cameras, smartphones, etc.

[0003] Conventional approaches can use programmable processing units and / or imaging pipelines that can process 2×2 color filter array (CFA) patterns, but such approaches are also unable to process 4×4 RGB-IR CFAs. For example, some imaging pipelines can produce monochrome or multi-color digital images, but such designs assume that the color filters have a fixed density in the CFA pattern and have a specific number of neighboring pixels of the same color as a pixel at a certain location. In addition, such approaches are also unable to perform such analysis and pre-processing on raw domain RGBIR images.

[0004] In other example software-hardware designs, some imaging pipelines can only process 4×4 RGB-IR CFA using extremely inefficient multi-pass processing techniques. Such designs require multiple transfers of CFA data between the imaging pipeline and external memory, resulting in high latency and reduced processing power. In addition, such designs cannot eliminate IR contamination from RGB pixels to reproduce true colors in the output image. Summary of the invention

[0005] Improvements to pixel pattern conversion processes and techniques are disclosed herein. Example embodiments include systems, such as image processing pipelines, configured to perform pixel pattern conversion and other functions. The image processing pipeline includes an upstream component, a pattern conversion component downstream of the upstream component in the image processing pipeline, and a downstream component relative to the pattern conversion component. The pattern conversion component is configured to obtain RGB-IR pixel data generated by the upstream component of the image processing pipeline, convert the RGB-IR pixel data into RGB pixel data and IR pixel data using an adaptive filter, and supply the RGB pixel data and the IR pixel data to the downstream component of the image processing pipeline.

[0006] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 An example system that may be configured to perform pixel pattern conversion is described.

[0008] Figure 2 An example operating environment that may be configured to perform pixel pattern conversion is described.

[0009] Figure 3 Describes the series of steps used in an image processing pipeline to convert pixel data from one format to another.

[0010] Figure 4 An example operating environment for processing and converting pixel data in an embodiment is described.

[0011] Figure 5 An example adaptive filter that may be configured to perform a pixel pattern conversion operation using convolutional layers and adaptive weights is described.

[0012] Figure 6 An example adaptive filter that may be configured to perform a pixel pattern conversion operation using convolutional layers and adaptive weights is described.

[0013] The drawings are not necessarily drawn to scale. In the drawings, the same reference numerals designate corresponding parts throughout the several views. In some embodiments, components or operations may be separated into different blocks or may be combined into a single block. DETAILED DESCRIPTION

[0014] Discussed herein are enhancements, techniques, and systems related to color filter array (CFA) pattern conversion, and more specifically, to converting 4×4 red, green, blue, and infrared (RGB-IR) CFA patterns to other formats via adaptive filtering. The term pixel is often used to refer to an image sensor pixel, i.e., the smallest identifiable portion of an image sensor that provides a discrete value based on received light, and to refer to an image pixel, i.e., the smallest identifiable portion of an image with a single value, which is often generated by a corresponding image sensor pixel. A variety of imaging systems generate 4×4 RGB-IR CFA patterns. That is, the imaging system employs filters on the image sensor pixels of the image sensor to capture information in a 4×4 RGB-IR format. However, as mentioned, ISPs and their components are unable to use complex CFA patterns (e.g., 4×4 RGB-IR CFA patterns) as input to various image signal processing techniques. Not only must a 4×4 RGB-IR CFA pattern often be separated into a 2×2 RGB CFA pattern (e.g., a Bayer pattern) and a 2×2 IR CFA pattern, but pixels in the 4×4 RGB-IR CFA pattern often need to be upsampled and decontaminated to produce full resolution, high quality color and IR images. Advantageously, the devices, apparatuses, and systems described herein can support processing of 4×4 RGB-IR CFA pattern images as well as any 2×2 CFA pattern for conversion to other 2×2 CFA patterns. Thus, the improvements and methods described herein provide a reliable and efficient way to analyze pixels in real time, such as via adaptive filtering using a convolutional neural network, to perform upsampling, IR subtraction or IR decontamination, and re-mosaicing of CFA patterns from one format to another.

[0015] An example embodiment includes an image processing pipeline. The image processing pipeline includes an upstream component, a pattern conversion component downstream relative to the upstream component in the image processing pipeline, and a downstream component relative to the pattern conversion component. The pattern conversion component is configured to obtain RGB-IR pixel data generated by the upstream component of the image processing pipeline, convert the RGB-IR pixel data into RGB pixel data and IR pixel data using an adaptive filter, and supply the RGB pixel data and the IR pixel data to the downstream component of the image processing pipeline.

[0016] In another example, a pattern conversion component of an image processing pipeline is provided. The pattern conversion component includes an interface and a circuit system coupled to the interface. The interface is configured to communicate with an upstream component and a downstream component of the image processing pipeline relative to the pattern conversion component. The circuit system is configured to obtain RGB-IR pixel data generated by the upstream component of the image processing pipeline via the interface, convert the RGB-IR pixel data into RGB pixel data and IR pixel data using an adaptive filter, and supply the RGB pixel data and the IR pixel data to the downstream component of the image processing pipeline via the interface.

[0017] In yet another embodiment, a method of operating a pattern conversion component of an image processing pipeline is provided. The method includes: obtaining RGB-IR pixel data generated by a component of the image processing pipeline upstream of the pattern conversion component; converting the RGB-IR pixel data into RGB pixel data and IR pixel data by identifying features of pixels of the RGB-IR pixel data, calculating a weight for each of the pixels based on the features, and applying the weight to each of the pixels; and supplying the RGB pattern and the IR pattern to a component of the image processing pipeline downstream of the pattern conversion component.

[0018] Figure 1 An example system that may be configured to perform pixel pattern conversion is described. Figure 1 A system 100 is shown that includes an imaging subsystem 105, a central processing unit (CPU) 110, and an image processing pipeline 115. The imaging subsystem 105 captures 4×4 RGB-IR pixel data 106 from a scene 101. The 4×4 RGB-IR pixel data 106 is provided to the CPU 110 and further supplied to the image processing pipeline 115 for processing and conversion to produce a color and IR image 120 (referred to herein as image 120). In an example embodiment, such a process may be performed on a 2×2 color filter array (CFA) input and / or a 4×4 CFA input having red, green, blue, and infrared (RGB-IR) pixels.

[0019] In operation, the imaging subsystem 105 is configured to capture data from the scene 101. The imaging subsystem 105 may be a camera capable of generating images, videos, or frames from the scene 101, one or more image sensors, a camera-based driver monitoring system (DMS), a camera-based passenger monitoring system (OMS), etc. The imaging subsystem 105 may generate an output consisting of a plurality of image pixels of various color channels in a pattern, such as 4×4 RGB-IR pixel data 106. In this example, the 4×4 RGB-IR pixel data 106 includes pixels arranged in a 4×4 pattern, whereby each pixel is associated with one of the red, blue, green, or infrared (IR) color channels. Other pixel data of different color patterns or patterns are also contemplated.

[0020] The imaging subsystem 105 provides the 4×4 RGB-IR pixel data 106 to the CPU 110. The CPU 110 may store the 4×4 RGB-IR pixel data 106 in a memory, perform image signal processing techniques on the data, and / or provide the data to one or more subsystems or peripherals in communication with the CPU 110. In one example, the CPU 110 is included as part of a system on a chip (SoC) configured to perform the pixel pattern conversion process described herein, as well as other functions. In this example, the CPU 110 provides the 4×4 RGB-IR pixel data 106 to an image processing pipeline 115, which may also be part of the SoC, to perform the pixel pattern conversion process.

[0021] The image processing pipeline 115 includes components configured to perform pre-processing activities, pattern conversion, statistics generation, noise filtering, and / or other image processing activities on the 4×4 RGB-IR pixel data 106. More specifically, the image processing pipeline 115 may include a pattern conversion component configured to convert a 4×4 RGB-IR pattern of the 4×4 RGB-IR pixel data 106 into pixel data having a plurality of different patterns, such as a 2×2 RGB (red, green, and blue) pattern and a 2×2 IR pattern. This converted pixel data may be used by other components of the image processing pipeline 115 to generate an image 120 (e.g., a color image and an IR image). Additional example details of an image signal processor (ISP) and its components capable of processing 4×4 RGB-IR pixel data can be found in commonly assigned U.S. patent application Ser. No. 17 / 129,818, filed on Dec. 21, 2020, and entitled “Method and Apparatus for Processing RGB-Infrared (RGB-IR) Sensor Data,” and U.S. patent application Ser. No. 63 / 393,310, filed on Nov. 9, 2022, and entitled “DEFECTIVE PIXEL CORRECTION,” which are incorporated by reference in their entirety.

[0022] In various examples, a pattern conversion component of the image processing pipeline 115 uses an adaptive filter to convert the 4×4 RGB-IR pattern of the 4×4 RGB-IR pixel data 106 into two 2×2 CFA patterns. The adaptive filter may be configured to identify features of pixels of the 4×4 RGB-IR pixel data 106, calculate weights of the pixels of the 4×4 RGB-IR pixel data 106 based on the features, and apply the weights to each of the pixels to generate a 2×2 RGB pattern and a 2×2 IR pattern. In some cases, the adaptive filter includes one or more convolutional neural networks and / or convolutional layers. For example, the adaptive filter may use two convolutional layers (one dilated layer and one non-dilated layer) to identify features of pixels in the 4×4 RGB-IR pixel data 106.

[0023] Still refer to Figure 1 , the image processing pipeline 115 and its components represent hardware components capable of implementing the pattern conversion process described herein. Examples of the image processing pipeline 115 include integrated circuits (ICs), application specific integrated circuits (ASICs), logic devices, and other such circuit systems, as well as any combination or variation thereof. Alternatively, the image processing pipeline 115 may be implemented as general-purpose hardware, such as a microprocessor, capable of executing software and / or firmware embodying the logic of the defective pixel detection process disclosed herein. The image processing pipeline 115 may be implemented within a single processing device, but it may also be distributed across multiple processing devices or subsystems that cooperate to execute instructions.

[0024] The image processing pipeline 115 and its components may also be configured to convert CFA patterns other than the 4x4 RGB-IR CFA pattern to different CFA patterns. Examples of other CFA patterns include various Bayer patterns, RGBE, RYYB, CYYM, CYGM, RGBW, RCCC, and RCCB patterns, among other CFA patterns.

[0025] Move to Figure 2 , Figure 2 An example operating environment that may be configured to perform pixel pattern conversion is described. Figure 2 An operating environment 200 is shown that includes an image processing pipeline 205 and its components. The image processing pipeline 205 includes an upstream component 210, a pattern conversion 215, and downstream components 220 and 225. The image processing pipeline 205 represents an image processing pipeline (e.g., Figure 1 The image processing pipeline 115) or visual imaging subsystem (VISS) may be configured to obtain 4×4 RGB-IR pixel data 201 (e.g., from Figure 1 CPU 110), processes and converts the pixel data, and generates a full resolution image 230.

[0026] In operation, the image processing pipeline 205 is configured to obtain 4×4 RGB-IR pixel data 201. The 4×4 RGB-IR pixel data 201 represents pixel data in a 4×4 CFA pattern (e.g., in an RGB-IR pattern) captured by an imaging system (e.g., imaging system 105). Each pixel in the 4×4 RGB-IR pixel data 201 may have a different value from other pixels in the 4×4 CFA pattern. The values ​​of the pixels of the 4×4 RGB-IR pixel data 201 may be based on image features that appear at locations in the image data. For example, image features may make some locations appear brighter than other locations, darker than other locations, include edges or corners, etc. Image features may refer to features that exist within the image data and / or features that exist in physical locations of the image.

[0027] An upstream component 210 of the image processing pipeline 205 is configured to receive the 4×4 RGB-IR pixel data 201. The upstream component 210 represents any component of the image processing pipeline 205 that is upstream of the pattern conversion component 215 and the downstream components 220 and 225. For example, the upstream component 210 may be a defective pixel correction component or another image processing component configured to perform front-end processing on the 4×4 RGB-IR pixel data 201 and generate the 4×4 RGB-IR pixel data 211 to be used by the pattern conversion component 215.

[0028] The pattern conversion component 215 represents a component of the image processing pipeline 205 that can be configured to obtain the 4×4 RGB-IR pixel data 211, convert the 4×4 RGB-IR pixel data 211 from a 4×4 RGB-IR pixel pattern to both a 2×2 RGB pixel pattern (e.g., a Bayer pattern) and a 2×2 IR pixel pattern, and supply the converted pixel data (e.g., 2×2 RGB pixel data 217 and 2×2 IR pixel data 218) to downstream components 220 and 225. To this end, the pattern conversion component 215 includes an adaptive filter 216. The adaptive filter 216 can include a machine learning element, such as a neural network having various layers (e.g., convolutional layers, fully connected layers).

[0029] The adaptive filter 216 may identify features of the pixels of the 4×4 RGB-IR pixel data 211 based on the context of the 4×4 RGB-IR pixel data 211. This identification requires identifying features of each pixel of the 4×4 RGB-IR pixel data 211. In some cases, the adaptive filter 216 may identify features based on the position of a given pixel relative to other pixels, the characteristics of the pixel data at the position, and / or the characteristics of neighboring pixels relative to the given pixel and other neighboring pixels (also referred to herein as context). Features may include information and characteristics about pixels, such as the position of a given pixel within an array, the brightness at the position of a given pixel, neighboring pixels relative to a given pixel, etc. Next, the adaptive filter 216 may calculate weights for the pixels of the 4×4 RGB-IR pixel data 211 based on the features. The adaptive filter 216 may determine multiple weights for each pixel. Alternatively, the adaptive filter 216 may determine weights on a per color channel basis. The adaptive filter 216 applies weights to pixels of the neighborhood to generate corresponding output pixel values ​​for the 2×2 RGB pattern and the 2×2 IR pattern. In an example where the adaptive filter 216 determines multiple weights for each pixel of the 4×4 RGB-IR pixel data 201, the adaptive filter 216 may select one of the multiple weights for a given pixel and apply the selected weight to determine an interpolated value for a 2×2 RGB pattern or a 2×2 IR pattern. Thus, the adaptive filter 216 may use one weight to identify an interpolated pixel value to be used for a 2×2 RGB pattern, and the adaptive filter 216 may use a different weight to identify an interpolated pixel value to be used for a 2×2 IR pattern. Various combinations and variations of weights may be used to generate corresponding outputs via a convolution method.

[0030] The pattern conversion component 215 provides the 2×2 RGB pixel data 217 or the 2×2 RGB pattern to the downstream component 220, and provides the 2×2 IR pixel data 218 or the 2×2 IR pattern to the downstream component 225. The downstream components 220 and 225 represent any component of the image processing pipeline 205 that is downstream relative to the upstream component 210 and the pattern conversion component 215. For example, one of the downstream components 220 and 225 may be a noise filter or another image processing component configured to perform operations on either or both of the 2×2 RGB pixel data 217 and the 2×2 IR pixel data 218. After the operations of the downstream components 220 and 225, the image processing pipeline 205 may generate a full resolution image 230.

[0031] Figure 3 Describes the series of steps used in an image processing pipeline to convert pixel data from one format to another. Figure 3 The process 300 described in parentheses below includes reference to Figure 2Process 300 may be implemented on fixed-purpose dedicated hardware, programmable hardware, or a combination thereof. For example, process 300 may be performed by pattern conversion component 215 or its adaptive filter (eg, adaptive filter 216) or another device or apparatus.

[0032] In operation 305, the pattern conversion component 215 obtains 305 the 4×4 RGB-IR pixel data 211 generated by the upstream component 210 of the image processing pipeline 205. The upstream component 210 represents any component of the image processing pipeline 205 that is upstream in the image processing pipeline 205 relative to the pattern conversion component 215 and the downstream components 220 and 225. For example, the upstream component 210 can be a defective pixel correction component or another image processing component configured to perform front-end processing on the 4×4 RGB-IR pixel data 201 and generate the 4×4 RGB-IR pixel data 211 to be used by the pattern conversion component 215.

[0033] In operation 310, the pattern conversion component 215 converts 310 the 4×4 RGB-IR pixel data 211 into 2×2 RGB pixel data 217 and 2×2 IR pixel data 218 using the adaptive filter 216. The pattern conversion component 215 represents a component of the image processing pipeline 205 configured to convert the 4×4 RGB-IR pixel data 211 from a 4×4 RGB-IR pixel pattern to both a 2×2 RGB pixel pattern (e.g., a Bayer pattern) and a 2×2 IR pixel pattern. To this end, the pattern conversion component 215 includes an adaptive filter 216, which further includes a machine learning element, such as a neural network having various layers (e.g., convolutional layers, fully connected layers).

[0034] In operation 311, adaptive filter 216 identifies 311 features of pixels of 4×4 RGB-IR pixel data 211. This identification requires identifying features of each pixel of 4×4 RGB-IR pixel data 211. In some cases, adaptive filter 216 may identify features based on the position of a given pixel relative to other pixels, characteristics of the pixel data at that position, and / or characteristics of neighboring pixels relative to the given pixel (also referred to herein as context). Features may include information about the pixel, such as the position of the given pixel within the array, the brightness at the position of the given pixel (in the image data), neighboring pixels relative to the given pixel, etc.

[0035] In operation 312, the adaptive filter 216 calculates 312 weights of pixels of the 4×4 RGB-IR pixel data 211 based on the features. The adaptive filter 216 may determine multiple weights for each pixel. Alternatively, the adaptive filter 216 may determine the weights on a per color channel basis. In some cases, the adaptive filter 216 may also determine the weights of the color channels based on which pixels are adjacent to a given pixel. In operation 313, the adaptive filter 216 applies 313 weights to generate a 2×2 RGB pattern and a 2×2 IR pattern. In an instance where the adaptive filter 216 determines multiple weights for each pixel of the 4×4 RGB-IR pixel data 201, the adaptive filter 216 may select one of the multiple weights for a given pixel, and apply the selected weight to determine an interpolated value of a given pixel to be used in a 2×2 RGB pattern or a 2×2 IR pattern. Therefore, the adaptive filter 216 may use some weights to identify the value of the 2×2 RGB pattern, and may use different weights to identify the value of the 2×2 IR pattern. Various combinations and variations of weights may be used to generate corresponding outputs.

[0036] In operation 315, the pattern conversion component 215 supplies 315 the 2×2 RGB pixel data 217 and the 2×2 IR pixel data 218 to downstream components (e.g., downstream component 220 and downstream component 225, respectively) of the image processing pipeline 205. The downstream components 220 and 225 represent any components of the image processing pipeline 205 that are downstream relative to the upstream component 210 and the pattern conversion component 215. For example, one of the downstream components 220 and 225 may be a noise filter or another image processing component configured to perform operations on either or both of the 2×2 RGB pixel data 217 and the 2×2 IR pixel data 218. Upon completion of the process 300, the pattern conversion component 215 may produce both full resolution color and IR images.

[0037] Figure 4 An example operating environment for processing and converting pixel data in an embodiment is described. Figure 4 The operating environment 400 further includes an image processing pipeline 410 and its components configured to perform operations on input pixel data (e.g., RGB-IR pixel data 405). The image processing pipeline 410 includes a front-end processing module 440, a pattern conversion component 445, one or more downstream processing modules 455, a remapping module 460, and a statistics module 465. For example, the image processing pipeline 410 may represent Figure 1 The image processing pipeline 115 or Figure 2 The image processing pipeline 205. Therefore, the image processing pipeline 410 or its adaptive filter 446 may implement Figure 3 process 300.

[0038] In operation, the image processing pipeline 410 is configured to obtain RGB-IR pixel data 405. The RGB-IR pixel data 405 includes a plurality of pixels captured by an imaging system arranged in a 4×4 CFA pattern (e.g., in an RGB-IR pattern). In the operating environment 400, the RGB-IR pixel data 405 illustrates a 4×4 portion of the sensor pixel data to present an example RGB-IR pattern. In the RGB-IR pixel data 405, each pixel may have a different value than other pixels in the RGB-IR pixel data 405 (e.g., a red pixel may have a greater red value than another red pixel). For example, some pixels may have a higher brightness value than other pixels, which may indicate image features represented in the RGB-IR pixel data 405. By way of another example, some pixels may have values ​​indicating image features including nearby edges, corners, or both.

[0039] One or more front-end processing modules 440 of the image processing pipeline 410 are configured to receive the RGB-IR pixel data 405. The one or more front-end processing modules 440 represent one or more pre-processing components of the image processing pipeline 410 in the image processing pipeline 410 that are upstream relative to the pattern conversion component 445 and other downstream components of the image processing pipeline 410. In the operating environment 400, the one or more front-end processing modules 440 include defective pixel correction 442, lens shading correction 443, and white balance operation 444. The defective pixel correction 442 can be used to correct defective image pixels of the RGB-IR pixel data 405. Additional example details of defective pixel correction can be found in the commonly assigned U.S. patent application No. 63 / 393,310, entitled "DEFECTIVE PIXEL CORRECTION", filed on November 9, 2022, which is incorporated by reference in its entirety. The lens shading correction 443 can be used to improve the uniformity of the brightness and color of the pixels of the RGB-IR pixel data 405. White balance operation 444 may be used to balance the intensity of the colors of the pixels of RGB-IR pixel data 405. After operation of the components of one or more front-end processing modules 440 of image processing pipeline 410, one or more front-end processing modules 440 may provide RGB-IR pixel data 441 to pattern conversion component 445.

[0040] The pattern conversion component 445 represents a pattern converter configured to obtain the RGB-IR pixel data 441, convert the RGB-IR pixel data 441 from a 4×4 RGB-IR pixel pattern to both a 2×2 RGB pixel pattern (e.g., a Bayer pattern) and a 2×2 IR pixel pattern, and supply the converted pixel data (e.g., RGB pixel data 450 and IR pixel data 451) downstream in the image processing pipeline 410.

[0041] The pattern conversion component 445 includes an adaptive filter 446 that controls a re-mosaic operation 447, an up-sampling operation 448, and a desmearing operation 449. The re-mosaic operation 447 refers to the process of interpolating new pixel values ​​from the pixels of the RGB-IR pixel data 441 to create a 2×2 RGB pixel pattern and a 2×2 IR pixel pattern. The re-mosaic operation 447 may involve identifying a pixel value for each pixel in the RGB-IR pixel data 441, identifying features of each of the pixels, and interpolating new pixel values ​​for each of the pixels based on the features. The new pixel values ​​may replace the existing pixel values ​​for each pixel in the corresponding position in the pattern to reconstruct or re-mosaic a different one of the pixel patterns.

[0042] The upsampling operation 448 refers to the process of increasing the resolution of the RGB-IR pixel data 441. Similar to the re-mosaic operation 447, the up-sampling operation 448 may require identifying pixel values ​​of pixels in the RGB-IR pixel data 441, identifying features of the pixels, and determining up-sampled values ​​for each pixel of the RGB-IR pixel data 441 based on the features. This operation may occur after the re-mosaic operation 447, such that pixels in the 2×2 RGB pixel pattern and the 2×2 IR pixel pattern are up-sampled after re-mosaicing the pixels from the 4×4 RGB-IR pixel pattern. However, the operations may occur in any order.

[0043] Decontamination operation 449 may refer to decontaminating red, green, and blue pixels of IR contamination. Decontamination operation 449 may require identifying the value of each of the pixels (including the amount of IR in each value), identifying characteristics of the pixels, and subtracting the IR amount from the pixel value of the pixels based on the characteristics. In some cases, decontamination operation 449 is performed only on red, green, and blue pixels, and thus, RGB pixel data 450 is affected by removing IR values ​​from pixels in the RGB pixel pattern.

[0044] In various examples, the adaptive filter 446 may perform each of the re-mosaic operation 447, the up-sampling operation 448, and the decontamination operation 449 in parallel via a convolutional neural network (CNN) or other machine learning component. The adaptive filter 446 may configure the CNN to identify features of pixels of the RGB-IR pixel data 441. Features may include information about the pixel, such as the position of a given pixel within the array, the brightness at the position of a given pixel, neighboring pixels relative to a given pixel, etc. The CNN may be configured to calculate weights of pixels of the RGB-IR pixel data 441 based on the features. The CNN may generate multiple weights for each pixel. The adaptive filter 446 applies weights to each of the pixels to generate a 2×2 RGB pattern and a 2×2 IR pattern. In some cases, the adaptive filter 446 selects weights based on a given pixel and an operation performed on the given pixel (e.g., the re-mosaic operation 447, the up-sampling operation 448, and the decontamination operation 449). For example, adaptive filter 446 may select one weight to be applied to red pixels during re-mosaic operation 447, and adaptive filter 446 may select a different weight to be applied to the same red pixel during up-sampling operation 448 to produce a different output. After applying the one or more weights to each pixel in RGB-IR pixel data 441, adaptive filter 446 may generate pixel values ​​for both a 2×2 RGB pixel pattern and a 2×2 IR pixel pattern.

[0045] The pattern conversion component 445 provides the RGB pixel data 450 (e.g., a 2×2 RGB pixel pattern) and the IR pixel data 451 (e.g., a 2×2 IR pixel pattern) to one or more downstream processing modules 455. The one or more downstream processing modules 455 represent any one or more processing components of the image processing pipeline 410 that are downstream relative to the one or more front-end processing modules 440 and the pattern conversion component 445. For example, the one or more downstream processing modules may include a noise filter, a tone mapper, a color processor, or any other image processing component. The one or more downstream processing modules 455 may be configured to perform operations on either or both of the RGB pixel data 450 and the IR pixel data 451.

[0046] The pattern conversion component 445 also provides the RGB pixel data 450 to the statistics module 465 and the IR pixel data 451 to the remapping module 460. When generating a full-resolution IR image, the remapping module 460 can use the IR pixel data 451 to remap the IR pixels as needed. The statistics module 465 can use the RGB pixel data 450 and the RGB-IR pixel data 441 to generate statistics and other information about the pixels. For example, the statistics module 465 can provide information about the characteristics of defective pixels, corrected pixels, and pixels used for automatic exposure, as well as other information. After the operation of one or more downstream processing modules 455, the remapping module 460, and the statistics module 465, the image processing pipeline 410 can generate a full-resolution image.

[0047] Figure 5 An example adaptive filter that may be configured to perform a pixel pattern conversion operation using convolutional layers and adaptive weights is described. Figure 5 Demonstrate the inclusion of adaptive filters (e.g. Figure 2 The adaptive filter 216 and / or Figure 4 The operating environment 500 includes convolutional layers 510 and 515, a concatenated function 520, fully connected layers 525 and 530, weights 535 and 540, and functions 545 and 546.

[0048] In operation, RGB-IR pixel data 505 is supplied as input to convolutional layers 510 and 515. RGB-IR pixel data 505 includes a plurality of pixels captured by an imaging system arranged in a 4×4 CFA pattern (e.g., in an RGB-IR pattern). Each pixel in the data set may have a different value than other pixels in RGB-IR pixel data 505 (e.g., a red pixel may have a greater red value than another red pixel). For example, some pixels may have higher brightness values ​​than other pixels, which may indicate bright spots in the image represented by RGB-IR pixel data 505. By way of another example, some pixels may have values ​​indicating nearby edges, corners, or both of an image.

[0049] Convolutional layers 510 and 515 represent layers in a convolutional neural network (CNN). Convolutional layer 510 may be configured to perform an expanded convolution operation (e.g., a convolution operation involving inserting gaps into the input data or otherwise skipping pixels of the input data) on RGB-IR pixel data 505. Convolutional layer 515 may be configured to perform a non-expanded convolution operation (e.g., a convolution operation using the input without skipping elements) on RGB-IR pixel data 505. Due to the different convolution techniques employed by each other and due to the different sets of coefficients applied to each other, both convolutional layers 510 and 515 may produce different feature vectors from each other. The sets of coefficients used by convolutional layers 510 and 515 may include a plurality of coefficients stored in a lookup table (not illustrated), the plurality of coefficients corresponding to values ​​learned during training of the CNN when performing a pattern conversion process. In other words, some coefficients may correspond to specific color channels of a pixel, and some coefficients may correspond to specific pattern conversion operations (e.g., upsampling, IR decontamination).

[0050] In an example, convolution layer 510 may calculate one set of feature vectors using a first set of coefficients and a neighborhood of pixels of RGB-IR pixel data 505 (e.g., a center pixel and a plurality of nearby pixels relative to the center pixel), while convolution layer 515 may calculate a different set of feature vectors using a second set of coefficients (different from the first set of coefficients) and a different neighborhood of pixels of RGB-IR pixel data 505. The different sets of feature vectors from convolution layers 510 and 515 may be fed into concatenation function 520.

[0051] Concatenation function 520 is configured to receive feature vectors from convolutional layers 510 and 515 and generate multi-scale features associated with pixels of RGB-IR pixel data 505 (i.e., features derived from using both dilated and non-dilated convolution techniques). The multi-scale features may include information about pixels of RGB-IR pixel data 505, including whether such locations are bright or dark, whether such locations are near corners and / or edges, and whether other image features exist. Features from concatenation function 520 may be supplied as input to fully connected layers 525 and 530.

[0052] The fully connected layers 525 and 530 may be configured to generate weights for pixels of the RGB-IR pixel data 505 using the identified multi-scale features from the concatenation function 520 and different sets of coefficients (from the sets of coefficients fed to the convolutional layers 510 and 515). Figure 5, the fully connected layer 525 determines weights 535 applicable to generating values ​​for visible light pixels or color pixels (e.g., red, green, and blue pixels), while the fully connected layer 530 determines weights 540 applicable to generating values ​​for non-visible light pixels (e.g., IR pixels). To generate weights 535 and 540, the fully connected layers 525 and 530 may obtain coefficients from a lookup table (not illustrated) and apply the coefficients to the multi-scale features fed to the fully connected layers 525 and 530 through the concatenation function 520. For example, the fully connected layers 525 and 530 may selectively apply one or more of the coefficients based on the color channel of a given pixel and / or the operation to be performed on the given pixel (e.g., re-mosaic, up-sampling, desmearing).

[0053] For a given neighborhood 506 of RGB-IR pixel data 505, the given neighborhood includes a center pixel and various neighboring pixels relative to the center pixel, the CNN calculates weights 535 and 540 based on the center pixel of the neighborhood 506. The CNN then feeds the weights 535 and 540 to functions 545 and 546, respectively, along with the pixel data of the neighborhood 506. Functions 545 and 546 represent pattern conversion operations such as upsampling, interpolation, and IR desmearing, for example.

[0054] In operation, the CNN may determine which color channel the center pixel of neighborhood 506 belongs to. The CNN may also determine which function to apply to the center pixel of neighborhood 506. In some cases, the CNN may first apply function 545 to pixels of RGB-IR pixel data 505 to produce RGB pixel data 550, and then the CNN may apply function 546 to pixels of RGB-IR pixel data 505 to produce IR pixel data 555. However, in other cases, the CNN may apply function 545 to a given center pixel, and then apply function 546 to a given center pixel before ingesting a different center pixel. Various combinations and variations of processing are contemplated.

[0055] By way of example, neighborhood 506 may include a first red pixel located in the upper left corner of the pixel array of RGB-IR pixel data 505 and several corresponding neighboring pixels of the first red pixel. For this red pixel, a plurality of different weights (e.g., weights 535) may be generated using multi-scale features. In this example, the adaptive filter may upsample the pixel value of this red pixel (i.e., apply an upsampling function of function 545). Coefficients may be selected based on the red channel and / or upsampling function. Weights 535 may be calculated for red pixels. Weights 535, red pixels, and corresponding neighboring pixels (or collectively referred to as neighborhood 506) are passed to function 545 to apply the upsampling function and generate an upsampled red pixel value of the upper left corner of the pixel array of RGB pixel data 550. The same process may occur for all pixels of RGB-IR pixel data 505 to achieve upsampled pixels of RGB pixel data 550.

[0056] By way of another example, neighborhood 506 may include a first blue pixel located in the first row and third column of RGB-IR pixel data 505 as a center pixel and a number of corresponding neighboring pixels relative to the first blue pixel. During the pattern conversion process, the adaptive filter may be configured to output a red pixel in place of this blue pixel in RGB pixel data 550, such as Figure 5 505. To this end, the adaptive filter may determine the multi-scale features and weights of this pixel of the RGB-IR pixel data 505. The weight 535 may be determined based on the neighborhood 506 having the blue pixel and further based on the rearranged mosaic function of the function 545 to interpolate the red pixel value from the given blue pixel. Therefore, the weight and pixel data of the neighborhood 506 may be provided to the function 545 to apply the rearranged mosaic function and generate a red pixel at the first row and third column position of the RGB pixel data 550. This process may occur for all pixels of the RGB-IR pixel data 505 to interpolate the pixel values ​​of the RGB pixel data 550.

[0057] By way of yet another example, neighborhood 506 may include a first red pixel (upper left corner red pixel) of RGB-IR pixel data 505 and several corresponding neighboring pixels relative to the first red pixel. After determining the multi-scale features of this pixel, the adaptive filter may pass the features to fully connected layer 530 to generate weights 540. Weights 540 may be used to interpolate IR pixel values ​​based on selected red pixels, upsample IR pixel values ​​present in red pixels, and / or decontaminate red pixels of IR pixel values, as well as other image processing functions. In one example, the adaptive filter may perform a rearrangement mosaic function on the red pixels to interpolate IR pixel values ​​based on the red pixels. Thus, the adaptive filter may determine weights 540 based on the color channel of the center pixel (i.e., the red pixel) of neighborhood 506, and provide weights 540 together with the pixel data of neighborhood 506 to function 546 to generate an IR pixel at the upper left corner of IR pixel data 555. For any image processing function, this process may occur for all pixels of RGB-IR pixel data 505 to produce an IR-only pixel pattern as in IR pixel data 555 .

[0058] In various examples, the pixels of the RGB-IR pixel data 505 are fed through the convolutional layers 510 and 515 one by one in a sliding window manner, and thus fed through the adaptive filter. In this way, one or more of the functions 545 and 546 can be applied to each pixel to generate one or more outputs using the pixel (i.e., the value of the RGB pixel data 550 or the IR pixel data 555 or both) and the corresponding neighboring pixels. In some cases, other functions such as noise filtering or tone mapping can be performed via the functions 545 and 546. For example, in such cases, different coefficients can be applied at the convolutional layers 510 and 515 and / or at the fully connected layers 525 and 530 based on which function the adaptive filter is used for. Therefore, any variation and / or combination of features and weights can produce outputs for image signal processing.

[0059] Figure 6 An example adaptive filter that may be configured to perform a pixel pattern conversion operation using convolutional layers and adaptive weights is described. Figure 6 An operating environment 600 is shown including elements and components of an adaptive filter 608, which represents an adaptive filter of a pattern conversion component, such as Figure 2 The adaptive filter 216 and / or Figure 4Adaptive filter 608 includes modules 610, 625, and 640. Module 610 includes convolutional layers 615 and 616 and concatenated functions 620. Module 625 includes a fully connected RGB layer 630 and a fully connected IR layer 636. Module 640 includes functions 645 and 647 that output RGB pixel data 650 and IR pixel data 655, respectively. In various examples, modules 610, 625, and 640 may represent an image processing pipeline (e.g., Figure 1 A hardware accelerator (HWA) in the image processing pipeline 115).

[0060] In operation, pixel data 601 is captured by an imaging system and fed to an image processing pipeline that includes modules 610, 625, and 640 for various image signal processing activities, or collectively referred to as adaptive filter 608. For example, pixel data 601 may represent Figure 2 4×4 RGB-IR pixel data 211 of FIG. Pixel data 601 includes a plurality of pixels arranged in a 4×4 CFA pattern (e.g., in an RGB-IR pattern). Each pixel in the data set may have a different value from other pixels of pixel data 601 (e.g., a red pixel may have a greater red value than another red pixel). For example, some pixels may have higher brightness values ​​than other pixels, which may indicate image features (e.g., bright spots) of the image data represented by pixel data 601.

[0061] Pixel data 601 may be stored in various line buffers (collectively referred to as line buffers 604). In various examples, an image processing pipeline or a system including an image processing pipeline may utilize nine line buffers. Each line buffer may store a row of pixels of pixel data 601. For example, line buffer 604-1 may hold a first row of data, line buffer 604-2 may hold a second row of data, line buffer 604-3 may hold a third row of data, line buffer 604-4 may hold a fourth row of data, line buffer 604-5 may hold a fifth row of data, line buffer 604-6 may hold a sixth row of data, line buffer 604-7 may hold a seventh row of data, line buffer 604-8 may hold an eighth row of data, and line buffer 604-9 may hold a ninth row of data. Other combinations or variations of line buffers or memory storage schemes are contemplated but are not discussed for brevity.

[0062] Pixel data 601 includes a 9×9 selection of pixels with a center pixel 603. The pixels may be fed as input to an adaptive filter 608 (e.g., a convolutional neural network (CNN)). During the pattern conversion process, the adaptive filter 608 may receive a pixel subset 602 (a 5×5 subset of pixel data 601), interpolate color and IR pixel values ​​for the center pixel 603, and decontaminate the center pixel 603 from IR contamination. Such a process may be repeated for different center pixels 603 and thus for different groupings of pixel subsets 602. Additionally, different 9×9 selections of pixel data 601 from line buffer 604 may be fed through the adaptive filter 608. In this way, the pixel data 601 and the pixel subset 602 may be viewed as a sliding window of pixels. For example, during each iteration, a different group of pixels may be obtained from the line buffer 604 and supplied to the adaptive filter 608. This process may be repeated until each of the pixels of pixel data 601 has been used as center pixel 603 or until adaptive filter 608 has produced an output of RGB pixel data 650 and IR pixel data 655 .

[0063] In the example illustrated in operating environment 600, pixel subset 602 includes pixels from line buffers 604-3, 604-4, 604-5, 604-6, and 604-7, with center pixel 603 being a blue pixel. Pixel data for pixel subset 602 is obtained from a corresponding one of line buffers 604 and fed to module 610 or convolutional layers 615 and 616. However, in other examples, different pixel subsets from any combination or variation of line buffers 604 may be selected and fed to convolutional layer 615 and / or convolutional layer 616.

[0064] In addition to the pixel subset 601, coefficients from coefficient lookup tables 605 and 606 may be provided to convolution layers 615 and 616, respectively, of module 610. Coefficient lookup tables 605 and 606 include a plurality of coefficients to be used during the convolution process. Such coefficients may include learning values ​​during training of an adaptive filter 608 for pattern conversion. In an example, coefficient lookup table 605 may include a set of coefficients that the convolution layer 615 may use to calculate features associated with the center pixel 603. Similarly, coefficient lookup table 606 may include different sets of coefficients that the convolution layer 616 may use to calculate different features associated with the center pixel 603. In some cases, coefficient lookup tables 605 and 606 each include four 25 sets of coefficients. The coefficients may correspond to individual pixels of a 5×5 pixel grouping (i.e., pixel subset 602), and the adaptive filter 608 may use each of the four sets of coefficients to calculate four features of the pixel.

[0065] Convolutional layers 615 and 616 represent layers in adaptive filter 608 configured to perform convolution and dilated convolution operations on selected pixel 601 and pixel subset 602. Convolutional layer 615 may be configured to perform convolution operations on pixel subset 602, while convolutional layer 616 may be configured to perform dilated convolution operations on selected pixel data 601. In an example, convolutional layer 615 may obtain a first subset of pixel data 601 (pixel subset 602), and convolutional layer 616 may obtain a second subset of pixel data 601 different from pixel subset 602 to perform dilated convolution using, for example, a dilation factor of 2. Both convolutional layers 615 and 616 may generate feature vectors using coefficients from respective ones of coefficient lookup tables 605 and 606, which differ from each other due to different convolution techniques employed by each other. Different feature vectors may be fed into cascade function 620.

[0066] The concatenation function 620 is configured to receive the feature vectors from the convolutional layers 615 and 616 and generate a multi-scale feature associated with the center pixel 603 of the pixel subset 602. The multi-scale feature may include information about the center pixel 603, such as whether the location of the center pixel 603 is a bright spot or a dark spot, whether the location is near a corner and / or an edge in the image data, and whether other image features exist. The features may be supplied as input to the fully connected RGB layer 630 and the fully connected IR layer 636 of the module 625.

[0067] The fully connected RGB layer 630 and the fully connected IR layer 636 may be configured to generate weights associated with the center pixel 603 using the multi-scale features identified by the adaptive filter 608. Figure 6In the example illustrated in , the fully connected RGB layer 630 determines weights applicable to generating values ​​of visible light pixels or color pixels (e.g., red, green, and blue pixels), while the fully connected IR layer 636 determines weights applicable to generating values ​​of invisible light pixels (e.g., IR pixels). Depending on various factors, such as the color channel of the center pixel 603, the neighboring pixels around the center pixel 603, and / or the operation to be performed on the pixel (e.g., re-mosaic, upsampling, decontamination), the fully connected RGB layer 630 and the fully connected IR layer 636 may generate multiple weights for the center pixel 603. To generate weights for the center pixel 603 and other pixels, the fully connected RGB layer 630 and the fully connected IR layer 636 may use coefficients 646 and 648, respectively. The coefficients 646 and 648 may include values ​​stored in a lookup table (not illustrated) that is different from the coefficient lookup tables 605 and 606. Similar to the coefficients of the lookup tables 605 and 606, the coefficients 646 and 648 may include learning values ​​obtained during the training of the adaptive filter 608. In an example, coefficients 646 and 648 may each include multiple sets of coefficients that may be used to generate weights for functions 645 and 647. By way of example, coefficients 646 and 648 may include eight sets of 200 coefficients (e.g., 8 multi-scale features of center pixel 603 will be converted to 25 weight values ​​used in function 645 or 647). Such coefficients may be applied to the multi-scale features of center pixel 603 at fully connected RGB layer 630 and fully connected IR layer 636 based on center pixel 603 and neighboring pixels of center pixel 603. Fully connected layers 630 and 636 may provide weights to functions 645 and 647 of module 640, respectively, to generate a portion of RGB pixel data 650 and IR pixel data 655 associated with center pixel 603 of subset 602.

[0068] In an example, for a blue pixel (center pixel 603), the fully connected RGB layer 630 may select a set of coefficients from a coefficient lookup table 646 based on the center pixel 603 belonging to the blue channel, the neighboring pixels around the center pixel 603, and the operation to be performed on the center pixel 603 (e.g., upsampling). Function 645 may apply the calculated weights to 602 and generate an upsampled blue pixel value at the location of the center pixel 603 of the RGB pixel data 650. In another example, for the same blue pixel (center pixel 603), the fully connected IR layer 636 may select a different set of coefficients from a coefficient lookup table 648 based on the center pixel 603 belonging to the blue channel, the neighboring pixels around the center pixel 603, and the IR-related operation to be performed on the center pixel 603 (e.g., IR interpolation). Function 647 may apply the calculated weights to 602 and generate an interpolated IR pixel value at the location of the center pixel 603 of the IR pixel data 655. In this way, multiple functions may be performed on the same center pixel 603 to simultaneously produce different outputs.

[0069] In various embodiments, after module 610 performs the convolution and concatenation process on the first center pixel and provides the data associated with the first center pixel to module 625, module 610 may perform the convolution and concatenation process on the second center pixel (i.e., without waiting for modules 625 and 640 to complete the respective processes). Module 625 may calculate weights associated with the first center pixel, provide these weights to module 640, and obtain data from module 610 corresponding to the second center pixel. Module 640 may obtain the weights from module 625 and obtain the subset of pixels 602 corresponding to the first center pixel from module 610 to perform the pixel pattern conversion process. Modules 610, 625, and 640 may be used as independent HWAs that may perform the respective processes on one center pixel at a time. Therefore, one cycle through the adaptive filter 608 may produce one output pixel of RGB pixel data 650 and IR pixel data 655. However, in other embodiments, modules 610, 625, and 640 may be used as a single HWA. Once all of pixel data 601 has been processed by the module, RGB pixel data 650 and IR pixel data 655 may contain interpolated pixel values ​​arranged in 2×2 RGB and 2×2 IR pixel patterns, respectively, based on the data of pixel data 601 .

[0070] More specifically, during the pattern conversion process, the image processing pipeline (e.g., Figure 2 An upstream component (e.g., Figure 2 The upstream component 210 of the operating environment 600 may feed data to the adaptive filter 608 of the operating environment 600 only after processing the entire input image. Alternatively, the upstream component may feed the data to the adaptive filter 608 immediately after processing the data (e.g., at the pixel level). Similarly, the adaptive filter 608 may provide data to downstream components (e.g., at the image level or the pixel level) relative to the adaptive filter 608. Figure 2 604-9 feeds back into line buffer 604-1 (not illustrated). Thus, in some examples, adaptive filter 608, or more specifically, module 610 of adaptive filter 608, may begin processing pixel data 601 only when all required pixel data 601 is available in line buffer 604.

[0071] In various alternative embodiments, the adaptive filter 608 and its modules may perform other image processing activities. For example, the coefficient lookup tables 605 and 606 may include different values ​​based on training for the corresponding image processing activities. In addition, the coefficients 646 and 648 may also include different values ​​to calculate the weights of the pixels of the pixel data 601 applicable to generate different output pixel data.

[0072] Although some of the examples provided herein are described in the context of an imaging subsystem, image sensor, layer, or environment, the pixel defect detection and correction systems and methods described herein are not limited to such embodiments and may be applied to a variety of other processes, systems, applications, devices, etc. Aspects of the present invention may be embodied as systems, methods, computer program products, and other configurable systems. Thus, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects (all of which may be collectively referred to herein as a "circuit," "module," or "system"). Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable media having computer-readable program code embodied thereon.

[0073] Unless the context clearly requires otherwise, throughout the specification and claims, the words "comprise," "comprising," and the like are used in an inclusive sense of "including but not limited to." In this description, the term "coupled" may encompass connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action, then: (a) in a first instance, device A is coupled to device B through a direct connection; or (b) in a second instance, device A is coupled to device B through an intermediate component C, provided that the intermediate component C does not alter the functional relationship between device A and device B such that device B is controlled by device A via the control signal generated by device A. A device "configured to" perform a task or function may be configured (e.g., programmed and / or hardwired) to perform the function when manufactured by a manufacturer, and / or may be configurable (or reconfigurable) by a user after manufacture to perform the function and / or other additional or alternative functions. Configuration may be programmable by the firmware and / or software of the device, by the construction and / or layout of the hardware components and interconnections of the device, or a combination thereof. In addition, when used in this application, the words "herein", "above", "below" and words of similar meaning refer to the application as a whole, rather than to any particular part of the application. Where the context permits, the words used in the above specific embodiments in the singular or plural may also include the plural or singular, respectively. The word "or" about a list of two or more items covers all the following interpretations of the words: any one of the items in the list, all the items in the list, and any combination of the items in the list.

[0074] The phrases "in some embodiments," "according to some embodiments," "in the illustrated embodiments," "in other embodiments," etc. generally mean that the particular feature, structure, or characteristic following the phrase is included in at least one embodiment of the present technology, and may be included in more than one embodiment. Additionally, such phrases do not necessarily refer to the same embodiment or different embodiments.

[0075] The above specific implementation of the example of technology is not intended to be exhaustive or to limit the technology to the exact form disclosed above. Although the specific examples of technology are described above for illustrative purposes, as those skilled in the relevant art will recognize, various equivalent modifications can be made within the scope of technology. For example, although processes or blocks are presented in a given order, alternative embodiments can perform routines with steps in different orders or adopt systems with blocks, and some processes or blocks can be deleted, moved, added, subdivided, combined and / or modified to provide alternatives or sub-combinations. Each of these processes or blocks can be implemented in a variety of different ways. And, although processes or blocks are sometimes shown as serial execution, these processes or blocks can be executed or implemented in parallel instead, or can be executed at different times. In addition, any specific numbers mentioned herein are only examples; alternative embodiments can adopt different values ​​or ranges.

[0076] The teaching of the technology provided herein can be applied to other systems, not necessarily the system described above. The elements and actions of the various examples described above can be combined to provide further embodiments of the technology. Some alternative embodiments of the technology can include not only additional elements of those implementations mentioned above, but also fewer elements.

[0077] According to the above specific embodiments, these and other changes can be made to the technology. Although the above description describes certain examples of the technology and describes the expected best mode, no matter how detailed the above content appears in this article, the technology can be practiced in many ways. The details of the system can vary significantly in its specific embodiment, while still being covered by the technology disclosed herein. As mentioned above, the specific terms used when describing certain features or aspects of the technology should not be understood to imply that the terms are redefined herein as any specific characteristics, features or aspects of the technology associated with the terms. In general, unless such terms are clearly defined in the above specific embodiments, the terms used in the attached claims should not be interpreted as limiting the technology to the specific examples disclosed in the specification. Therefore, the actual scope of the technology not only covers the disclosed examples, but also covers all equivalent ways of practicing or implementing the technology in the claims.

[0078] To reduce the number of claims, certain aspects of the technology are presented below in certain claim forms, but applicants contemplate various aspects of the technology in any number of claim forms. For example, while only one aspect of the technology is described as a computer-readable media claim, other aspects may likewise be embodied as a computer-readable media claim, or in other forms, such as means-plus-function claims. Any claim intended to be processed under 35 U.S.C. §112(f) will begin with the words "means for...", but use of the term "for" in any other context is not intended to invoke processing under 35 U.S.C. §112(f). Therefore, applicants reserve the right to seek additional claims after filing this application, to seek such additional claim forms in this application or a continuation application.

Claims

1. An image processing pipeline comprising: Upstream components; a pattern conversion component downstream in the image processing pipeline relative to the upstream component; and a downstream component relative to the pattern conversion component; The pattern conversion component is configured as follows: obtaining RGB-IR pixel data generated by the upstream component of the image processing pipeline; converting the RGB-IR pixel data into RGB pixel data and IR pixel data using an adaptive filter; and The RGB pixel data and the IR pixel data are supplied to the downstream components of the image processing pipeline.

2. The image processing pipeline of claim 1 , wherein the adaptive filter is configured to: For each pixel of the RGB-IR pixel data: identifying a feature of the pixel based on a context of the pixel; Calculating a weight of the pixel based on the feature; and Weights are applied to the pixels to calculate interpolated values ​​for the pixels.

3. The image processing pipeline of claim 2, wherein the adaptive filter is further configured to convert the RGB-IR pixel data into the RGB pixel data and the IR pixel data using interpolated values ​​of the pixels of the RGB-IR pixel data.

4. The image processing pipeline of claim 2, wherein the context comprises characteristics of the RGB-IR pixel data at a location associated with a given pixel and characteristics of neighboring pixels of the RGB-IR pixel data relative to the given pixel.

5. The image processing pipeline of claim 2, wherein the applied weights are selected based on a color channel of a given pixel and a desired output pixel array comprising the RGB pixel data or the IR pixel data.

6. The image processing pipeline of claim 5, wherein the color channel of the given pixel comprises one of red, blue, green, or infrared.

7. The image processing pipeline of claim 2, wherein the adaptive filter is further configured to: For each pixel of the RGB-IR pixel data: identifying a contamination value for the pixel; and The contamination value is subtracted from the interpolated value for the pixel.

8. The image processing pipeline of claim 1, wherein the adaptive filter comprises a convolutional neural network.

9. A pattern conversion component in an image processing pipeline, comprising: interface; and circuitry coupled to the interface; wherein the interface is configured to communicate with upstream and downstream components of the image processing pipeline relative to the pattern conversion component; and Wherein the circuit system is configured to: obtaining, via the interface, RGB-IR pixel data generated by an upstream component of the image processing pipeline; converting the RGB-IR pixel data into RGB pixel data and IR pixel data using an adaptive filter; and The RGB pixel data and the IR pixel data are supplied to downstream components of the image processing pipeline via the interface.

10. The pattern conversion assembly of claim 9, wherein the circuit system is configured to: For each pixel of the RGB-IR pixel data: identifying a feature of the pixel based on a context of the pixel; Calculating a weight of the pixel based on the feature; and Weights are applied to the pixels to calculate interpolated values ​​for the pixels.

11. The pattern conversion component of claim 10, wherein the circuit system is further configured to convert the RGB-IR pixel data into the RGB pixel data and the IR pixel data using interpolated values ​​of the pixels of the RGB-IR pixel data.

12. The pattern conversion component of claim 10, wherein the context comprises characteristics of the RGB-IR pixel data at a location associated with a given pixel and characteristics of neighboring pixels of the RGB-IR pixel data relative to the given pixel.

13. The pattern conversion component of claim 10, wherein the applied weights are selected based on a color channel of a given pixel and a desired output pixel array including the RGB pixel data or the IR pixel data.

14. The pattern conversion component of claim 13, wherein the color channel of the given pixel comprises one of red, blue, green, or infrared.

15. The pattern conversion assembly of claim 10, wherein the circuit system is further configured to: For each pixel of the RGB-IR pixel data: identifying a contamination value for the pixel; and The contamination value is subtracted from the interpolated value for the pixel.

16. The pattern conversion component of claim 9, wherein the circuit system comprises a convolutional neural network.

17. A method of operating a pattern conversion component of an image processing pipeline, the method comprising: obtaining RGB-IR pixel data generated by a component of the image processing pipeline upstream of the pattern conversion component; The RGB-IR pixel data is converted into RGB pixel data and IR pixel data by the following operations: identifying a feature of a pixel of the RGB-IR pixel data based on a context of the pixel; Calculating a weight of the pixel based on the feature; and applying a weight to each of the pixels; and The RGB pixel data and the IR pixel data are supplied to a downstream component of the image processing pipeline relative to the pattern conversion component.

18. The method of claim 17, wherein the context comprises characteristics of the RGB-IR pixel data at a location associated with a given pixel and characteristics of neighboring pixels of the RGB-IR pixel data relative to the given pixel.

19. The method of claim 17, wherein the applied weights are selected based on a color channel of a given pixel and a desired output pixel array including the RGB pixel data or the IR pixel data.

20. The method of claim 18, wherein the method further comprises: identifying a contamination value for the pixel of the RGB-IR pixel data; and The contamination value is subtracted from the pixel of the RGB pixel data.

Citation Information

Patent Citations

  • Method and Apparatus for Processing RGB-Infrared (RGB-IR) Sensor Data

    US20220198604A1