System and method for processing image data using an image processing pipeline of an image signal processor
First Claim
1. A method for processing image data using an image signal processor, comprising:
- using an image signal processor;
receiving raw image data corresponding to an image scene captured using a digital image sensor;
converting the raw image data into color image data, wherein converting the raw image data into the color image data comprises the steps of;
prior to detecting any defective pixels in the raw image data, for each pixel of the raw image data, applying a first offset to a current pixel, applying a first digital gain to the current pixel after applying the first offset, and, after applying the first digital gain, clipping the value of the current pixel to a first minimum value if the value of the current pixel is below the first minimum value or to a first maximum value if the value of the current pixel is above the first maximum value;
detecting any defective pixels in the raw image data;
correcting any detected defective pixels in the raw image data;
processing the raw image data to reduce noise after the detected defective pixels are corrected;
processing the raw image data to correct lens shading distortion after processing the raw image data to reduce noise;
after processing the raw image data to correct lens shading distortion, for each pixel of the raw image data, applying a second offset to the current pixel, applying a second digital gain to the current pixel after applying the second offset, and, after applying the second digital gain, clipping the value of the current pixel to a second minimum value if the value of the current pixel is below the second minimum value or to a second maximum value if the value of the current pixel is above the second maximum value; and
applying a demosaicing process to convert the raw image data into the color image data after the correction of the lens shading distortion;
converting the color image data to a luma and chroma color space to produce a corresponding set of luma and chroma image data; and
displaying a visual representation of the image scene using the luma and chroma image data.
1 Assignment
0 Petitions
Accused Products
Abstract
Various techniques are provided herein for processing raw image data acquired using a digital image sensor in an image processing pipeline of an image signal processing system. In one embodiment, the image processing pipeline may first process the raw image data (e.g., Bayer image data) for the detection and correction of defective pixels. Next, the image processing pipeline may process the raw image data to reduce noise. Thereafter, the image processing pipeline may correct lens shading distortion in the raw image data and, subsequently, apply a demosaicing algorithm to convert the raw image data into full color image data (e.g., RGB image data). The color image data may be further processed by the image processing pipeline to correct color and gamma properties prior to being converted into a luma and chroma color space (e.g., YCbCr color space).
-
Citations
28 Claims
-
1. A method for processing image data using an image signal processor, comprising:
-
using an image signal processor; receiving raw image data corresponding to an image scene captured using a digital image sensor; converting the raw image data into color image data, wherein converting the raw image data into the color image data comprises the steps of; prior to detecting any defective pixels in the raw image data, for each pixel of the raw image data, applying a first offset to a current pixel, applying a first digital gain to the current pixel after applying the first offset, and, after applying the first digital gain, clipping the value of the current pixel to a first minimum value if the value of the current pixel is below the first minimum value or to a first maximum value if the value of the current pixel is above the first maximum value; detecting any defective pixels in the raw image data; correcting any detected defective pixels in the raw image data; processing the raw image data to reduce noise after the detected defective pixels are corrected; processing the raw image data to correct lens shading distortion after processing the raw image data to reduce noise; after processing the raw image data to correct lens shading distortion, for each pixel of the raw image data, applying a second offset to the current pixel, applying a second digital gain to the current pixel after applying the second offset, and, after applying the second digital gain, clipping the value of the current pixel to a second minimum value if the value of the current pixel is below the second minimum value or to a second maximum value if the value of the current pixel is above the second maximum value; and applying a demosaicing process to convert the raw image data into the color image data after the correction of the lens shading distortion; converting the color image data to a luma and chroma color space to produce a corresponding set of luma and chroma image data; and displaying a visual representation of the image scene using the luma and chroma image data.
-
-
2. A method for processing image data using an image signal processor, comprising:
-
using an image signal processor; receiving raw image data corresponding to an image scene captured using a digital image sensor; converting the raw image data into color image data, wherein converting the raw image data into the color image data comprises the steps of; detecting any defective pixels in the raw image data; correcting any detected defective pixels in the raw image data; processing the raw image data to reduce noise after the detected defective pixels are corrected, wherein processing the raw image data to reduce noise comprises applying horizontal filtering and vertical filtering to each color component of the raw image data; processing the raw image data to correct lens shading distortion after processing the raw image data to reduce noise; and applying a demosaicing process to convert the raw image data into the color image data after the correction of the lens shading distortion; converting the color image data to a luma and chroma color space to produce a corresponding set of luma and chroma image data; and displaying a visual representation of the image scene using the luma and chroma image data. - View Dependent Claims (3, 4, 5, 6)
-
-
7. One or more tangible computer-readable storage media having instructions encoded thereon for execution by a processor, the instructions comprising:
-
code to identify, in an image processing pipeline, defective pixels in raw image data received by the image processing pipeline, the raw image data corresponding to an image scene captured using a digital image sensor; code to correct the detected defective pixels; code to reduce noise in the raw image data; code to correct lens shading distortion in the raw image data; code to demosaic the raw image data to produce color image data; code to correct color values of each pixel of the color image data using color correction coefficients stored in a color correction matrix; code to adjust gamma values of each pixel of the color image data based upon a set gamma-corrected values stored in separate look-up tables for each color component of the color image data; and code to convert the color image data into a corresponding set of image data in a luma and chroma color space. - View Dependent Claims (8, 9, 10, 11)
-
-
12. An image signal processing system comprising:
-
image processing pipeline circuitry configured to process raw image data corresponding to an image scene captured by a digital image sensor, wherein the image processing pipeline circuitry comprises; raw image data processing logic configured to convert the raw image data into a corresponding set of RGB image data, wherein the raw image data processing logic comprises defective pixel detection and correction logic configured to identify and correct defective pixels in the raw image data, noise reduction logic configured to reduce noise in the raw image data, lens shading correction logic configured to correct lens shading distortion in the raw image data, and demosaicing logic configured to convert the raw image data into the RGB image data; and RGB processing logic configured to apply color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into a corresponding set of image data in a luma and chroma color space; wherein the RGB processing logic comprises color correction logic configured to apply color correction to the RGB image data by applying a color correction matrix to current red, blue, and green values associated with a current RGB pixel to determine corrected red, blue, and green values for the current RGB pixel, wherein the color correction matrix comprises a 3×
3 color correction matrix having a first row comprising first, second, and third color correction coefficients for correcting red color components, a second row comprising fourth, fifth, and sixth color correction coefficients for correcting green color components, and a third row comprising seventh, eighth, and ninth color correction coefficients for correcting blue color components;wherein the corrected red value is determined by summing the product of the first color correction coefficient and the current red value, the product of the second color correction coefficient and the current green value, and the product of the third color correction coefficient and the current blue value; wherein the corrected green value is determined by summing the product of the fourth color correction coefficient and the current red value, the product of the fifth color correction coefficient and the current green value, and the product of the sixth color correction coefficient and the current blue value; and wherein the corrected blue value is determined by summing the product of the seventh color correction coefficient and the current red value, the product of the eighth color correction coefficient and the current green value, and the product of the ninth color correction coefficient and the current blue value. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. An image signal processing system comprising:
-
image processing pipeline circuitry configured to process raw image data corresponding to an image scene captured by a digital image sensor, wherein the image processing pipeline circuitry comprises; raw image data processing logic configured to convert the raw image data into a corresponding set of RGB image data, wherein the raw image data processing logic comprises defective pixel detection and correction logic configured to identify and correct defective pixels in the raw image data, noise reduction logic configured to reduce noise in the raw image data, lens shading correction logic configured to correct lens shading distortion in the raw image data, and demosaicing logic configured to convert the raw image data into the RGB image data; and RGB processing logic configured to apply color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into a corresponding set of image data in a luma and chroma color space; and an image front-end processing unit, wherein the raw image data is first processed by the image front-end processing unit to acquire one or more sets of imaging statistics prior to being received by the image processing pipeline, and wherein the one or more sets of imaging statistics is utilized by the image processing pipeline for at least one of converting the raw image data into the RGB data and converting the RGB image data into the luma and chroma image data.
-
-
20. An electronic device, comprising:
-
at least one digital image sensor, wherein the digital image sensor comprises at least one of a Bayer color array filter, an RGBW color array filter, a CYGM color array filter, or any combination thereof; an interface configured to communicate with the at least one digital image sensor; a memory device; a display device configured to display a visual representation of one or more image scenes corresponding to raw image data acquired by the at least one digital image sensor; and an imaging signal processing sub-system comprising; front-end processing logic configured to receive the raw image data and to process the raw image data to acquire one or more sets of statistics data relating to at least one of the raw image data or the digital image sensor; and an image processing pipeline configured to receive the raw image data from the front-end processing unit and to convert the raw image data into a corresponding set of image data in a luma and chroma color space, wherein the image processing pipeline comprises; a raw image data processing circuit configured to correct defective pixels in the raw image data, then reduce noise in the raw image data, then correct lens shading distortion in the raw image data, and then demosaic the raw image data into a corresponding set of RGB image data; and an RGB image data processing circuit configured to apply at least one of color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into the corresponding set of luma and chroma image data; wherein the image processing pipeline is configured to output the luma and chroma image data to the memory device for storage or to the display device. - View Dependent Claims (21, 22, 23)
-
-
24. An electronic device, comprising:
-
at least one digital image sensor; an interface configured to communicate with the at least one digital image sensor; a memory device; a display device configured to display a visual representation of one or more image scenes corresponding to raw image data acquired by the at least one digital image sensor; and an imaging signal processing sub-system comprising; front-end processing logic configured to receive the raw image data and to process the raw image data to acquire one or more sets of statistics data relating to at least one of the raw image data or the digital image sensor; and an image processing pipeline configured to receive the raw image data from the front-end processing unit and to convert the raw image data into a corresponding set of image data in a luma and chroma color space, wherein the image processing pipeline comprises; a raw image data processing circuit configured to correct defective pixels in the raw image data, then reduce noise in the raw image data, then correct lens shading distortion in the raw image data, and then demosaic the raw image data into a corresponding set of RGB image data; and an RGB image data processing circuit configured to apply at least one of color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into the corresponding set of luma and chroma image data; wherein the image processing pipeline is configured to output the luma and chroma image data to the memory device for storage or to the display device; and wherein the one or more sets of statistics data is utilized by the image processing pipeline for converting the raw image data into the RGB image data and the luma and chroma image data.
-
-
25. An electronic device, comprising:
-
at least one digital image sensor; an interface configured to communicate with the at least one digital image sensor; a memory device; a display device configured to display a visual representation of one or more image scenes corresponding to raw image data acquired by the at least one digital image sensor; and an imaging signal processing sub-system comprising; front-end processing logic configured to receive the raw image data and to process the raw image data to acquire one or more sets of statistics data relating to at least one of the raw image data or the digital image sensor, wherein the one or more sets of statistics data comprises at least one of auto-exposure statistics, auto-white balance statistics, auto-focus statistics, flicker detection statistics, or any combination thereof; and an image processing pipeline configured to receive the raw image data from the front-end processing unit and to convert the raw image data into a corresponding set of image data in a luma and chroma color space, wherein the image processing pipeline comprises; a raw image data processing circuit configured to correct defective pixels in the raw image data, then reduce noise in the raw image data, then correct lens shading distortion in the raw image data, and then demosaic the raw image data into a corresponding set of RGB image data; and an RGB image data processing circuit configured to apply at least one of color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into the corresponding set of luma and chroma image data; wherein the image processing pipeline is configured to output the luma and chroma image data to the memory device for storage or to the display device.
-
-
26. An electronic device, comprising:
-
at least one digital image sensor; an interface configured to communicate with the at least one digital image sensor, wherein the interface comprises a Mobile Industry Processor Interface (MIPI), a Standard Mobile Imaging Architecture (SMIA) interface, or some combination thereof; a memory device; a display device configured to display a visual representation of one or more image scenes corresponding to raw image data acquired by the at least one digital image sensor; and an imaging signal processing sub-system comprising; front-end processing logic configured to receive the raw image data and to process the raw image data to acquire one or more sets of statistics data relating to at least one of the raw image data or the digital image sensor; and an image processing pipeline configured to receive the raw image data from the front-end processing unit and to convert the raw image data into a corresponding set of image data in a luma and chroma color space, wherein the image processing pipeline comprises; a raw image data processing circuit configured to correct defective pixels in the raw image data, then reduce noise in the raw image data, then correct lens shading distortion in the raw image data, and then demosaic the raw image data into a corresponding set of RGB image data; and an RGB image data processing circuit configured to apply at least one of color correction and gamma adjustment to the RGB image data, and to convert the RGB image data into the corresponding set of luma and chroma image data; wherein the image processing pipeline is configured to output the luma and chroma image data to the memory device for storage or to the display device. - View Dependent Claims (27, 28)
-
Specification